<?php
//print_r($listfeatures);
?>
<!DOCTYPE html>

<html lang="en">
<head>
	<meta charset="utf-8">
	<?php include_once 'meta.php';?>
	
	<link rel="stylesheet" href="<?php echo base_url();?>css/reset.css" type="text/css" media="screen" />
	
	<!--[if ! lte IE 6]><!-->
	<link rel="stylesheet" href="<?php echo base_url();?>css/style.css" type="text/css" media="screen" />
	<!--<![endif]-->

	<!--[if gt IE 6]>
	<link rel="stylesheet" href="<?php echo base_url();?>css/ie.css" type="text/css" media="screen" />
	<![endif]-->
	
	<!--[if IE 7]>
	<link rel="stylesheet" href="<?php echo base_url();?>css/ie7.css" type="text/css" media="screen" />
	<![endif]-->

	<!--[if lte IE 6]>
	<link rel="stylesheet" href="http://universal-ie6-css.googlecode.com/files/ie6.1.1.css" media="screen, projection">
	<![endif]-->
	
	<link rel="stylesheet" href="<?php echo base_url();?>css/fancybox.css" type="text/css" media="screen" />

</head>
<body>

<!-- header -->
<?php include_once 'header.php';?>
<!--  end header -->



<div id="slider">

	<div class="container">
	
		<ul>
			<?php for($i=1;$i<=4;$i++){?>
			<li>

				<img src="<?php echo base_url()."img/clients/ssh/ssh$i.jpg";?>" width="1010" height="330" title="welcome Bienvenu|Agence Wonder Travel" alt="Agence Wonder Travel" />

			</li>

			<?php } ?>
		</ul>

	</div><!-- end .container -->
	
</div><!-- end #slider -->

<div id="content">

	<div class="container index">

		<div id="main">
			<?php foreach ($listfeatures as $lf){?>
			<div class="entry">

				<div class="entry-header">

					<h2 class="title"><a href="<?php echo base_url().$lang."/pages/detailtour/".$lf["idweb_travel"]."-tourdetails"?>" title="Agence Wonder Travel|<?php echo $lf["name_$lang"];?>" ><?php echo $lf["name_$lang"];?></a></h2>

					<p class="meta"> <a href="javascript:void(0)"><?php echo $lf["subtitle_$lang"]; ?></a><span> <?php echo $lf["place_dispo"]; ?></span></p>

			<?php if ($lf["price_r"]!=0 && $lf["price_red"]!=0){?>
				<span class="regprice"><del><?php echo "$".$lf["price_r"] ?></del></span><span class="reduceprice" > <?php echo"$". $lf["price_red"] ?></span>
			<?php }else if($lf["price_r"]!=0){?>	
				<span class="reduceprice"><?php echo "$".$lf["price_r"] ?></span>
				
			<?php }else if($lf["price_red"]!=0){ ?>
				<span class="reduceprice" > <?php echo"$". $lf["price_red"] ?></span>
			<?php }?>
				<form action="<?php echo base_url()."reservation/listtours"?>" method="post">
				<input type="hidden" name="code" value="<?php echo $lf["bookingcode"];?>"/>
				<input  class="button" type="submit" value="<?php echo lang("booking")?>"/>
				</form>

				</div><!-- end .entry-header -->

				<div class="entry-content">

					<a href="<?php echo base_url().$lang."/pages/detailtour/".$lf["idweb_travel"]?>" title="Agence Wonder Travel|<?php echo $lf["name_$lang"];?>" ><img src="http://www.voyagewonder.net/bookingsystem/ssh/webtours-<?php echo $lf["idweb_travel"]; ?>.jpg" width="240" height="140" alt="Agence Wonder Travel|<?php echo $lf["name_$lang"];?>"  title="Agence Wonder Travel|<?php echo $lf["name_$lang"];?>" class="entry-image" /></a>

					<p><?php echo mb_substr( $lf["desc_$lang"], 0, 280,'utf-8') ?>....<a href="<?php echo base_url().$lang."/pages/detailtour/".$lf["idweb_travel"]."-tourdetails"?>"><?php echo lang("More_details")?></a></p>

					<hr />

					<ul class="entry-links">
						<!--  <li><a href="#">Send to a Friend</a> <span class="separator">|</span></li>-->
						
					</ul>

				</div><!-- end .entry-content -->

			</div><!-- end .entry -->
			<?php } ?>
			
			
			<ul class="pagination">
				<!--  <li class="prev"><a href="#">Prev</a></li>-->
				
			</ul>

		</div><!-- end #main -->

	<!-- slidebar -->
<?php include_once 'slidebar.php';?>	
	<!--  end slidebar  -->
		<div class="clear"></div>

	</div><!-- end .container -->

</div><!-- end #content -->

<!--  footer and footer bottom -->
<?php include_once 'footer.php';?>
<!--  end footer and footer bottom -->

</body>
</html>